import asyncio
import websockets


async def test(id):
    async with websockets.connect('ws://192.168.10.69:7771/') as websocket:
        for j in range(5):
            req = f'Hello {id}-{j}'
            await websocket.send(req)
            response = await websocket.recv()
            print(req, '>>>>', response)


async def main():
    for i in range(3):
        await test(i)

if '__main__' == __name__:
    asyncio.run(main())
